package recruiter;

import java.rmi.RemoteException;
import java.util.Collection;

import javax.ejb.EJBLocalObject;

import offer.Offer;

import student.Student;
import user.User;

import company.Company;
import descriptor.RecruiterDescriptor;

public interface Recruiter extends EJBLocalObject {

	// <ATTRIBUTES>
	
	// simple attributes
	public int getId();
	public void setId(int id);
	
	public String getLogin();
	public void setLogin(String login);
	
	public String getPassword();
	public void setPassword(String password);
	
	public String getFirstname();
	public void setFirstname(String firstname);
	
	public String getSurname();
	public void setSurname(String surname);
	
	public String getEmail();
	public void setEmail(String email);
	
	// Bean attributes
	// relations 1-1
	public User getUser();
	public void setUser(User user);
	
	//relation many-one
	public Company getCompany();
	public void setCompany(Company company);
	
	public void makeOffer(Student student, Offer offer);
	
	public Collection getOffers();
	public void setOffers(Collection offers);
	
	
	
	// </ATTRIBUTES>
	
	public RecruiterDescriptor getDescriptor();
}
